#pragma once
#include<iostream>

#define SIZE 100
#define elemtype int
typedef struct Sqlist
{
    elemtype* elem;
    int _size;
    int _capacity;
    Sqlist() :_capacity(SIZE), _size(0)
    {
        elem = new int[SIZE];
    }
    ~Sqlist()
    {
        delete[] elem;
        _size = 0;
    }
}Sqlist;


bool insert(Sqlist& L, int pos, elemtype e);
bool push_back(Sqlist& L, elemtype e);
bool del(Sqlist& L, int pos);
void print(Sqlist& L);